home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / MSG Demo 1.4 / source / Demo ƒ / program globals.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-30  |  1.6 KB  |  63 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        program globals.c
  4.  
  5. Purpose:    This is the header file for all the program-specific
  6.             global variables, #defines, enums, and structs.
  7.  
  8. This program is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2 of the License, or
  11. (at your option) any later version.
  12.  
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with this program in a file named "GNU General Public License".
  20. If not, write to the Free Software Foundation, 675 Mass Ave,
  21. Cambridge, MA 02139, USA.
  22.  
  23. \**********************************************************************/
  24.  
  25. #define CREATOR        'MSG0'
  26. #define APPLICATION_NAME "\pMSG Demo"
  27.  
  28. enum
  29. {
  30.     allsWell=0,
  31.     kNoMemory=-1,
  32.     kNoMemoryAndQuitting=-2,
  33.     kProgramIntegrityNotVerified=-3,
  34.     kProgramIntegritySet=-4,
  35.     kSystemTooOld=-5,
  36.     kCantOpenInputFile=-6,
  37.     kCantCreateTempFile=-7,
  38.     kBinHexErr=-8,
  39.     kDiskReadErr=-9,
  40.     kDiskWriteErr=-10,
  41.     kEofErr=-11,
  42.     kNeedMoreBinHexErr=-12,
  43.     userCancelErr=-13
  44. };
  45.  
  46. enum
  47. {
  48.     kEffectsOnly=0,
  49.     kEffectsPlusReverseEffects,
  50.     kFadesPlusEffects,
  51.     kFadesPlusReverseEffects,
  52.     kFullScreen
  53. };
  54.  
  55. #define BINHEX_VALUES_STRING    128
  56. #define BINHEX_HEADER_STRING    129
  57.  
  58. extern    unsigned char    gWhichPict;
  59. extern    unsigned char    gIsReversed;
  60. extern    int                gWhichWipe;
  61. extern    int                gLastWipe;
  62. extern    int                gWipeStatus;
  63.